package com.xjm.model;

/**
 * @author jaymin<br>
 * 父类
 * 2020/11/29 13:32
 */
public class Root {

	private String name;

	private String description;

	private boolean isRoot;

	public Root() {

	}

	/**
	 * 构造函数
	 * @param name 名称 对应的index为 0
	 * @param description 描述 对应的index为 1
	 * @param isRoot 是否是父BeanDefinition 对应的index为 2
	 */
	public Root(String name, String description, Boolean isRoot) {
		this.name = name;
		this.description = description;
		this.isRoot = isRoot;
	}

	@Override
	public String toString() {
		return "Root{" +
				"name='" + name + '\'' +
				", description='" + description + '\'' +
				", isRoot=" + isRoot +
				'}';
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public boolean getIsRoot() {
		return isRoot;
	}

	public void setIsRoot(boolean root) {
		isRoot = root;
	}
}
